#ifndef _GLOBAL_DEF_H_
#define _GLOBAL_DEF_H_

#ifdef __cplusplus
extern "C"{
#endif

#define TRUE 1
#define FALSE 0

#define INVALID_U32 0xFFFF

typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;
 
typedef signed char i8;
typedef signed short i16;
typedef signed int i32;

typedef float r32;
typedef double r64;
typedef long double r128;

typedef unsigned char BOOL;

typedef u32 TBoolean;
typedef i32 TDevid;

typedef unsigned long long u64;
typedef signed long long i64;

#ifdef __cplusplus
}
#endif

#endif